/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package programas;

/**
 *
 * @author gamas
 */
public class Convercion1 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
 // Convierte un double a byte
        Double a=45.23d;
        Byte b=new Byte(a.byteValue());
        System.out.println("Byte"+" "+b);
    }

}
